//
//  AdvModel.m
//  Wujin
//
//  Created by cz on 2016/12/9.
//  Copyright © 2016年 dong. All rights reserved.
//

#import "AdvModel.h"

@implementation AdvModel

- (instancetype)initWithDict:(NSDictionary *) dict{
    if (self = [super init]) {
        self.advId = dict[@"id"];
        self.img_url = dict[@"img_url"];
        self.jump_url = dict[@"jump_url"];
    }
    return self;
}

+ (instancetype)advModelWithDict:(NSDictionary *) dict{
    return [[self alloc]initWithDict:dict];
}

@end
